package com.example.book.dto;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName b_role_menu
 */
@TableName(value ="b_role_menu")
@Data
public class BRoleMenu implements Serializable {
    /**
     * 角色资源id
     */
    @TableId(value = "b_role_menu_id", type = IdType.AUTO)
    private Integer bRoleMenuId;

    /**
     * 角色id
     */
    @TableField(value = "b_role_id")
    private Integer bRoleId;

    /**
     * 资源id
     */
    @TableField(value = "b_menu_id")
    private Integer bMenuId;

    /**
     * 创建者
     */
    @TableField(value = "b_create_by")
    private String bCreateBy;

    /**
     * 创建时间
     */
    @TableField(value = "b_create_time")
    private Date bCreateTime;

    /**
     * 更新者
     */
    @TableField(value = "b_update_by")
    private String bUpdateBy;

    /**
     * 更新时间
     */
    @TableField(value = "b_update_time")
    private Date bUpdateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}